package com.ordertracker.persistent.dictionary.template;

import javax.persistence.MappedSuperclass;
import javax.persistence.Version;
import javax.xml.bind.annotation.XmlElement;
import javax.xml.bind.annotation.XmlRootElement;

/**
 * Description of class.
 * Created 12/5/12 5:06 PM
 *
 * @author andrey.rodin@playtech.com
 */

@MappedSuperclass
public abstract class OptimisticLockTemplate extends GeneralEntityTemplate {

    @Version
    private Long version;

    public Long getVersion() {
        return version;
    }

    public void setVersion(Long version) {
        this.version = version;
    }
}
